{{block header}}
<header class="main-header">
	<a  class="logo">
		<span class="logo-mini"><b>P</b><b>y</b></span>
		<span class="logo-lg"><b>PyCube</b> {{=T('Management System')}}</span>
	</a>
	<nav class="navbar navbar-static-top">
		<a  class="sidebar-toggle" data-toggle="offcanvas" role="button">
			<span class="sr-only">{{=T('Switch Navigation')}}</span>
		</a>
		<div class="navbar-custom-menu">
			<ul class="nav navbar-nav">
				<li class="dropdown user user-menu">
					<a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown">
						<img src="{{=URL('static','pycube/img/user_pycube.jpg')}}" class="user-image" alt="User Image"> <span class="hidden-xs">{{=auth.user.username}}</span>
					</a>
					<ul class="dropdown-menu">
						<li class="user-header">
							<img src="{{=URL('static','pycube/img/user_pycube.jpg')}}" class="img-circle" alt="User Image">
							<p>
								PyCube -  {{for item in auth.user_groups:}}  {{=auth.user_groups[item]}} {{pass}}   <small>{{=auth.user.email}}</small>
							</p>
						</li>
						<li class="user-body">
							<div class="row">
								<div class="col-xs-4 text-center">
									<a href="http://git.oschina.net/djsoftc/py_test" target="_blank">{{=T('Git@OSC')}}</a>
								</div>
							</div>
						</li>
						<li class="user-footer">
							<div class="pull-left">
								<a target="modal" href="{{=URL('pages','change_password')}}" class="btn btn-default btn-flat">{{=T('Change Password')}}</a>
							</div>
							<div class="pull-right">
								<a href="{{=URL('pages','logout')}}" class="btn btn-default btn-flat">{{=T('Log Out')}}</a>
							</div>
						</li>
					</ul>
				</li>
				<li>
					<a href="#" data-toggle="control-sidebar">
						<i class="fa fa-gears"></i>
					</a>
				</li>
			</ul>
		</div>
	</nav>
</header>
{{end}}